import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

const  routes: Array<RouteRecordRaw> = [
    {
        path: '/seller',
        name: 'seller',
        component: () => import('../components/seller.vue')
    },
    {
        path: '/',
        name: 'operator',
        component: () => import('../components/operator.vue')
    },
    {
        path: '/manager',
        name: 'manager',
        component: () => import('../components/manager.vue')
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router